package com.qingfeng.core.dao;

import com.qingfeng.core.config.database.BaseMapper;
import com.qingfeng.core.entity.Error;
import com.qingfeng.core.mapper.ErrorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @description: 异常dao
 * @author:LWY
 * @date: 2017/11/10 10:48
 * @modified:
 */
@Repository
public class ErrorDao extends BaseDao<Error> {
    @Autowired
    ErrorMapper errorMapper;

    @Override
    protected BaseMapper<Error> getBaseMapper() {
        return errorMapper;
    }
}
